import { BroadCastCall } from "../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../Framework/MQ/MessageBlock";
import { ThingUtil } from "../../scene/layer/utils/ThingUtil";
import { SEntityGroupInfo } from "../../../../Message/BroadCast/SEntityGroupInfo";
//class BroadcastEntityGroupUpdateCommand
    
    export  class BroadcastEntityGroupUpdateCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            super.call(arg1);
            ThingUtil.entityUtil.updateEntityGroupInfo(arg1.messageBase as SEntityGroupInfo);
            return;
        }
    }
